package plugin.validator;

import java.util.Date;

public class Result {
	private String birthDate;
	private boolean correct;
	private String sex;

	public void setBirthDate(String birthDate) {
		this.birthDate = birthDate;
	}

	public String getBirthDate() {
		return birthDate;
	}

	public void setCorrect(boolean correct) {
		this.correct = correct;
	}

	public boolean isCorrect() {
		return correct;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getSex() {
		return sex;
	}
	
	public void fill(boolean correct, String date, String sex){
		setCorrect(correct);
		setBirthDate(date);
		setSex(sex);
	}

}
